package com.liser.southernstar.update;

import com.liser.southernstar.utils.HttpHandle;

/**
 * @author Administrator
 * @date 2020/1/16 10:31
 */
public class UpdateServerUrls implements HttpHandle.Urls {

    private static final String DOWNLOAD_URL = "http://192.168.1.155/Restaurant_APP_UPDATE/apk";

    private String urls;

    public static HttpHandle.Urls Version = keyVal -> "http://192.168.1.155/Restaurant_APP_UPDATE/version.json";

    public UpdateServerUrls(String urls) {
        this.urls = DOWNLOAD_URL + urls;
    }

    @Override
    public String getUrl(Object... keyVal) {
        return urls;
    }
}
